namespace Radius.NET.Interface.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [Tenant(DbConfigIdConst.QyjConfigId),NotTable]
    [SugarTable("Mis_Customer")]
    public class MisCustomer
    {
        /// <summary>
        /// 
        /// </summary>
        public MisCustomer()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.String ContactNum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ContactName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String OptionalNameSecond { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String OptionalNameThird { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ContactPerson { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Chairman { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String GenralManager { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CurrencyType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Accountant { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Address { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String PostCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Phone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Fax { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Receive_period { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Summary { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? CR { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SecondName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String AccountNum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Area_id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Salesman { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Bank { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Bank_Account { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String TaxNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Degree { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? Discount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String TaxType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Byte? PRICETYPE { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Status { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CountryID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String BillingState { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String City { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String HCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SalesModel { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SICID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ComModel { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String RegAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? VerifyType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ComanpyCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String TerritoryID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String EmailAddress { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String WebAddress { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CompanyDay { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? OtherDay { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String PayMent { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String DeptLead { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CustTypeID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Byte? DiscountType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String FOBCode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CarrierID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ShipTermID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? CarrierPeriod { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? FirstTradeDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? FirstTradeQty { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? FirstTradeAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? FirstReceiptDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? FirstReceiptAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? LastTradeDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? LastTradeQty { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? LastTradeAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? LastReceiptDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? LastReceiptAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? MaxTradeAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? MinTradeAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? DocDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String DelivAddress { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ReceiptPerson { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ReceiptPhone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ReceiptFax { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String XyAcctach { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String BjAcctach { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String YbAcctach { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? Frate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String PayMentSummary { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CustType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String FromTypeID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SaleQuoteNO { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? TaxRate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? CloseDay { get; set; }

        /// <summary>
        /// 客户最低毛利率
        /// </summary>
        public System.Double? SaleProfitRate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? CarriagePrice { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String EngContactNum { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Mobile { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SecondFax { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SecondPhone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SecondAddress { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SecondContactPerson { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? FPFDiscount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? FRepeatInReceipt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? FRepeatAmount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Businesser { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ParentID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Depth { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? IsDetail { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CreateName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Manager { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SalesDeptID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? CR_Old { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CR_EndDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? CR_State { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? CommissionRatio { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CalType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Double? SCommissionRatio { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String SCalType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? SysKis { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? SelectKis { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? _cid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Phone2 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String WeChat { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String WeChat2 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Boolean? IsAgree { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? WeChatDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String TotalIntegral { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String UsedIntegral { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String UsableIntergal { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String StartLevel { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? SalStatus { get; set; }

        /// <summary>
        /// 所有合并客户的编码
        /// </summary>
        public System.String Cust_Source { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String IntegralItem { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF02 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF03 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF04 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF05 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF06 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF07 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF08 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF09 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF10 { get; set; }
    }
}